/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 sound_cache.h

	$Header: /heroes4/sound_cache.h $

	$NoKeywords: $

 ************************************************************************/

#if !defined( SOUND_CACHE_H_INCLUDED )
#define SOUND_CACHE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <string>
#include "cached_ptr.h"

class t_sound;

// -----------------------------------------------------------------
// cache for sound object
// -----------------------------------------------------------------
class t_sound_cache : public t_abstract_cache<t_sound>
{
public:
	t_sound_cache();
	t_sound_cache( std::string const & name );
};

inline t_sound_cache::t_sound_cache()
                    : t_abstract_cache<t_sound>( 0 )
{
};

typedef t_cached_ptr<t_sound> t_sound_ptr;

#endif // SOUND_CACHE_H_INCLUDED